home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni & Inventori
/
Invenzioni and Inventori (Eclectica Publishing) (1996).ISO
/
invenzio
/
vivid
/
getat2.dir
/
00028_Script_28
< prev
next >
Wrap
Text File
|
1996-11-09
|
2KB
|
98 lines
on enterFrame
set icona to the castnum of sprite 39
if the casttype of cast icona=#bitmap then
set cx to (the width of cast icona /2)
set cy to (the height of cast icona /2)
set the regpoint of cast icona to point (cx,cy)
end if
--set the loch of sprite 39 to 364
--set the locv of sprite 39 to 240
-- set the loch of sprite 34 to 90
--- set the locv of sprite 34 to 0
--set the width of sprite 39 to 548
-- set the height of sprite 39 to 476
-- attivazione menu
if rollover (3) then
global mywindow4
if not objectP(mywindow4) then
-- set mywindow4 to window("Menu")
-- set the filename of myWindow4 to "Vividm2"
-- set the titlevisible of myWindow4 to true
-- set the visible of mywindow4 to true
-- open mywindow4
else
--forget mywindow4
end if
end if
global START_OF,CONTINUE_
--if continue_<>1 then play "present"
if START_OF =0 then
global filename,not_reset_book
if not filename or filename="default" or filename="" then
set filename to ""
get_lista
else
set FILENAME=FILENAME&".BOK"
end if
global cast_m
set cast_m to 255
set START_OF=1
play frame "carica"
installa_icone
updatestage
if not not_reset_book then installa_book
set not_reset_book=0
--Refresh_Paper
set START_OF=2
--go to "res2"
end if
global mitch
installa_icone2
if mitch then refresh_paper
refresh_system
set mitch=0
set the puppet of sprite 47 to true
end enterFrame
on exitFrame
--prima di uscire dal ciclo Φ bene controllare se sussistono
--le condizioni per effettuare una qualche operazione scelta
--dall'utente. Per esempio il Resizing o l'Erase di un
--oggetto della pagina attiva.
global Resize_of_object
if Resize_of_object=TRUE then Resize
global quit
if quit then
play done
end if
global start_of
if start_of=2 then
installa_icone
refresh_paper
set start_of =3
end if
go to the frame
end